//
//  cinemaTableViewCell.m
//  UI20_豆瓣电影storyBoard
//
//  Created by 王阳阳 on 16/1/4.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "cinemaTableViewCell.h"

@implementation cinemaTableViewCell


+ (CGFloat)heightWithText:(NSString *)taxt
{
    NSDictionary *dic = @{NSFileOwnerAccountName:[UIFont systemFontOfSize:17]};
    CGSize size = CGSizeMake(375-20, 1000);
    CGRect rect = [taxt boundingRectWithSize:size options:(NSStringDrawingUsesLineFragmentOrigin) attributes:dic context:nil];
    return rect.size.height;
};

- (void)layoutSubviews
{
    [super layoutSubviews];
//    CGFloat h = [self class] heightWithText:
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
